package com.xinzhidi.web.custommodel.dto;

import com.xinzhidi.common.annotation.Excel;
import com.xinzhidi.common.core.page.PageQueryDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


/**
 * 自定义模型ListDto对象 custom_model
 *
 * @author cx
 * @date 2023-06-15
 */
@ApiModel(value = "自定义模型ListDto对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class CustomModelListDto extends PageQueryDto {
    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

    @ApiModelProperty(value = "模型名称")
    @Excel(name = "模型名称")
    private String modelName;

    @ApiModelProperty(value = "模型级别")
    @Excel(name = "模型级别")
    private String modelLevel;

    @ApiModelProperty(value = "户型")
    @Excel(name = "户型")
    private String houseType;

    @ApiModelProperty(value = "散热器类型")
    @Excel(name = "散热器类型")
    private String radiatorType;

    @ApiModelProperty(value = "住户面积范围开始")
    @Excel(name = "住户面积范围开始")
    private BigDecimal residentAreaStart;

    @ApiModelProperty(value = "住户面积范围结束")
    @Excel(name = "住户面积范围结束")
    private BigDecimal residentAreaEnd;

    @ApiModelProperty(value = "状态（0：启用 1：禁用）")
    @Excel(name = "状态", readConverterExp = "0=：启用,1=：禁用")
    private String status;

    @ApiModelProperty(value = "算法名称")
    @Excel(name = "算法名称")
    private String arithmeticName;

    @ApiModelProperty(value = "使用数量")
    @Excel(name = "使用数量")
    private Long useQuantity;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "模型类型")
    @NotNull(message = "模型类型不能为空")
    private String modelType;

}
